#ifndef _HDR_FREEFONT
#define _HDR_FREEFONT

#include <freetype/ft2build.h>
#include <freetype/freetype.h>
#include <freetype/ftglyph.h>
#include <freetype/ftoutln.h>
#include <freetype/fttrigon.h>

#include <glew/glew.h>
#include <gl/glu.h>

#include <vector>
#include <string>

namespace freetype {

using std::vector;
using std::string;

class font_data{

    private:
        float h;
        GLuint* texlist;
        GLuint  dispbase;
        string  font_name;

    public:
        font_data(const char*,unsigned int);
        ~font_data();

        void load();
        void unload();

        GLuint getBase();
        void print(float x, float y, const char *fmt, ...);

};

}

#endif
